import { httpInstance } from '@/utils/request'

interface EndAfterSalesAPIData {
  after_id: string
  desc: string
  images: string
}

export function endAfterSalesAPI(data: EndAfterSalesAPIData, token: string) {
  return httpInstance.post<
    Record<string, any>,
    EndAfterSalesAPIData,
    Record<string, any>
  >('api/Project/endAfterSales', data, { headers: { token } })
}
